package com.qyl.honghengshop.service.impl;

import java.util.List;

import com.qyl.honghengshop.dao.CommentDao;
import com.qyl.honghengshop.dao.impl.CommentDaoImpl;
import com.qyl.honghengshop.dto.Comment;
import com.qyl.honghengshop.service.CommentService;

public class CommentServiceImpl implements CommentService {

	private CommentDao commentDao = new CommentDaoImpl();
	@Override
	public int addComment(Comment comment) {

		
		return commentDao.addComment(comment);
	}
	@Override
	public List<Comment> getCommentList(Integer id) {
	
		return commentDao.getCommentList(id);
	}

}
